<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');

class PloegClass {

	private $Id;
	private $Naam;
	private $Straat;
        private $Nummer;
        private $Postcode;
        private $Plaats;
        private $Inschrijving;
        private $Land;
        private $Locatie;
	private $Thuis;

	public function __get($property) {
        if (property_exists($this, $property)) {
            return $this->$property;
        }
    }

    public function __set($property, $value) {
        if (property_exists($this, $property)) {
            $this->$property = $value;
        }
    }
}